package com.minimalist.lindi.service;

import com.minimalist.common.entity.lindi.po.LindiTradeApplicationOperator;
import com.minimalist.common.entity.lindi.vo.tradeapplicationoperator.LindiTradeApplicationOperatorVO;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 林地指标平台_交易申请操作表 服务层。
 *
 * @author 11987
 * @since 2025-04-24
 */
public interface LindiTradeApplicationOperatorService
        extends IService<LindiTradeApplicationOperator>{

    /**
     * 添加交易申请操作
     *
     * @param operatorVO LindiTradeApplicationOperatorVO
     */
    void addTradeApplicationOperator(LindiTradeApplicationOperatorVO operatorVO);

    /**
     * 根据 ID删除交易申请操作
     *
     * @param tradeApplicationOperatorId LindiTradeApplicationOperator ID
     */
    void deleteTradeApplicationOperatorByTradeApplicationOperatorId(
            Long tradeApplicationOperatorId);

    /**
     * 根据 ID修改交易申请操作
     *
     * @param operatorVO LindiTradeApplicationOperatorVO
     */
    void updateTradeApplicationOperatorByTradeApplicationOperatorId(
            LindiTradeApplicationOperatorVO operatorVO);

    /**
     * 根据交易申请ID查询操作记录
     *
     * @param tradeApplicationId 交易申请ID
     * @return LindiTradeApplicationOperatorVO
     */
    List<LindiTradeApplicationOperatorVO> getTradeApplicationOperatorsByApplicationId(
            Long tradeApplicationId);
}
